Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rdlc.rdl
Class MapUnit

    java.lang.Object
      rdlc.rdl.Field_Named
          rdlc.rdl.MapEntry
              rdlc.rdl.MapUnit

All Implemented Interfaces:
  Expression, Field

    public class MapUnit

extends MapEntry

This class represents a mapping from a unit instance to a map instance.

Version:
  $Revision: 1.14 $
Author:
  Greg Gibeling

Nested Class Summary

Nested classes/interfaces inherited from interface rdlc.rdl.Expression
`Expression.Phase`

Field Summary

Fields inherited from class rdlc.rdl.MapEntry
`destField, rawDestFieldID, rawUnitFieldID, unitField`

Fields inherited from class rdlc.rdl.Field_Named
`iName, instance, namespace, rawDynamicID`

Constructor Summary
`MapUnit(RawDynamicIdentifier _rawUnitFieldID, RawDynamicIdentifier _rawMapFieldID, Log errorLog)`
`MapUnit(java.lang.String _name, Instance _instance, MapUnit _mapUnit)`

Method Summary
`Field` | `copy(java.lang.String _name, Instance _instance)` Create a copy of this field in the given instance.
`void` | `resolve(java.util.HashSet<Declaration> markSet, Log errorLog, Expression.Phase phase)` Resolve the qualified name of this field, if we need to do so.
`java.lang.String` | `toString()` Simple accessor.

Methods inherited from class rdlc.rdl.MapEntry
`getDestination, getSource`

Methods inherited from class rdlc.rdl.Field_Named
`getIdentifier, getRawDynamicID, getRequirements, setInstance, setNamespace, setRawDynamicID, typeMatch`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### MapUnit

    public MapUnit(RawDynamicIdentifier _rawUnitFieldID,
                   RawDynamicIdentifier _rawMapFieldID,
                   Log errorLog)

See Also:
  `MapEntry.MapEntry(RawDynamicIdentifier, RawDynamicIdentifier, Log)`

### MapUnit

    public MapUnit(java.lang.String _name,
                   Instance _instance,
                   MapUnit _mapUnit)

See Also:
  `MapEntry.MapEntry(String, Instance, MapEntry)`

Method Detail

### copy

    public Field copy(java.lang.String _name,
                      Instance _instance)

  Description copied from interface: `Field`
  Create a copy of this field in the given instance. This is highly useful during dynamic hierarchy copying and during back end generation.

  Parameters:
    `_name` - The new name to use.
    `_instance` - The instance the copy should be a member of.
  See Also:
    `Field.copy(String, Instance)`

### toString

    public java.lang.String toString()

  Simple accessor.

  Overrides:
    `toString` in class `Field_Named`
  Returns:
    A human readable representation of this map link for debugging.

### resolve

    public void resolve(java.util.HashSet<Declaration> markSet,
                        Log errorLog,
                        Expression.Phase phase)

  Description copied from class: `Field_Named`
  Resolve the qualified name of this field, if we need to do so.

  Specified by:
    `resolve` in interface `Expression`
  Overrides:
    `resolve` in class `MapEntry`
  Parameters:
    `markSet` - Complete hash set of declarations on which the caller depends (including itself).
    `errorLog` - Log of errors to be reported to the user.
    `phase` - The phase of resolution to perform.
  See Also:
    `Expression.resolve(HashSet, Log, Phase)`, `Expression.resolve(HashSet, Log, Phase)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD